<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:f="http://xmlns.jcp.org/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:composition>

        <p:dialog id="ChequesEmitidosViewDlg" widgetVar="ChequesEmitidosViewDialog" modal="true" resizable="false" appendTo="@(body)" header="#{bundle.ViewChequesEmitidosTitle}">
            <h:form id="ChequesEmitidosViewForm">
                <h:panelGroup id="display">
                    <p:panelGrid columns="2" rendered="#{chequesEmitidosController.selected != null}">
                        <h:outputText value="#{bundle.ViewChequesEmitidosLabel_id}"/>
                        <h:outputText value="#{chequesEmitidosController.selected.id}" title="#{bundle.ViewChequesEmitidosTitle_id}"/>
                        <h:outputText value="#{bundle.ViewChequesEmitidosLabel_numero}"/>
                        <h:outputText value="#{chequesEmitidosController.selected.numero}" title="#{bundle.ViewChequesEmitidosTitle_numero}"/>
                        <h:outputText value="#{bundle.ViewChequesEmitidosLabel_tipoCheque}"/>
                        <h:outputText value="#{chequesEmitidosController.selected.tipoCheque}" title="#{bundle.ViewChequesEmitidosTitle_tipoCheque}"/>
                        <h:outputText value="#{bundle.ViewChequesEmitidosLabel_dataEmissao}"/>
                        <h:outputText value="#{chequesEmitidosController.selected.dataEmissao}" title="#{bundle.ViewChequesEmitidosTitle_dataEmissao}">
                            <f:convertDateTime pattern="MM/dd/yyyy" />
                        </h:outputText>
                        <h:outputText value="#{bundle.ViewChequesEmitidosLabel_dataDesconto}"/>
                        <h:outputText value="#{chequesEmitidosController.selected.dataDesconto}" title="#{bundle.ViewChequesEmitidosTitle_dataDesconto}">
                            <f:convertDateTime pattern="MM/dd/yyyy" />
                        </h:outputText>
                        <h:outputText value="#{bundle.ViewChequesEmitidosLabel_valor}"/>
                        <h:outputText value="#{chequesEmitidosController.selected.valor}" title="#{bundle.ViewChequesEmitidosTitle_valor}"/>
                        <h:outputText value="#{bundle.ViewChequesEmitidosLabel_observacao}"/>
                        <h:outputText value="#{chequesEmitidosController.selected.observacao}" title="#{bundle.ViewChequesEmitidosTitle_observacao}"/>
                        <h:outputText value="#{bundle.ViewChequesEmitidosLabel_despesa}"/>
                        <p:selectBooleanCheckbox value="#{chequesEmitidosController.selected.despesa}" disabled="true"/>
                        <h:outputText value="#{bundle.ViewChequesEmitidosLabel_dataCadastramento}"/>
                        <h:outputText value="#{chequesEmitidosController.selected.dataCadastramento}" title="#{bundle.ViewChequesEmitidosTitle_dataCadastramento}">
                            <f:convertDateTime pattern="MM/dd/yyyy" />
                        </h:outputText>
                        <h:outputText value="#{bundle.ViewChequesEmitidosLabel_dataModificacao}"/>
                        <h:outputText value="#{chequesEmitidosController.selected.dataModificacao}" title="#{bundle.ViewChequesEmitidosTitle_dataModificacao}">
                            <f:convertDateTime pattern="MM/dd/yyyy" />
                        </h:outputText>
                        <h:outputText value="#{bundle.ViewChequesEmitidosLabel_fundo}"/>
                        <p:selectBooleanCheckbox value="#{chequesEmitidosController.selected.fundo}" disabled="true"/>
                        <h:outputText value="#{bundle.ViewChequesEmitidosLabel_baixado}"/>
                        <p:selectBooleanCheckbox value="#{chequesEmitidosController.selected.baixado}" disabled="true"/>
                        <h:outputText value="#{bundle.ViewChequesEmitidosLabel_fornecedor}"/>
                        <h:outputText value="#{chequesEmitidosController.selected.fornecedor.toString()}" title="#{bundle.ViewChequesEmitidosTitle_fornecedor}"/>
                        <h:outputText value="#{bundle.ViewChequesEmitidosLabel_banco}"/>
                        <h:outputText value="#{chequesEmitidosController.selected.banco.toString()}" title="#{bundle.ViewChequesEmitidosTitle_banco}"/>
                    </p:panelGrid>
                    <p:commandButton value="#{bundle.Close}" onclick="ChequesEmitidosViewDialog.hide()"/>
                </h:panelGroup>
            </h:form>
        </p:dialog>

    </ui:composition>
</html>
